Skip to content
This repository has been archived by the owner on May 17, 2024. It is now read-only.

3206 eventcard limit description lengths #3484

Merged
merged 8 commits into from
Jan 17, 2024

Conversation

paaragon
Copy link
Contributor

@paaragon paaragon commented Aug 3, 2023

Changes

Closes #3206.

Descriptions in EventsCard have now a maximum length. If this max-length is exceeded, it is truncated and a "show more" is displayed.

If the "show more" is clicked, the entire length and a "show less" is displayed.

How to read this PR

Go to /events and test the "show more"/"show less" functionality on the EventsCards

Screenshots

  • Show more:
    image

  • Show less:
    image

techtolentino
techtolentino previously approved these changes Sep 7, 2023
Copy link
Contributor

@techtolentino techtolentino left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for working on this @paaragon

Non-blocking comment:
my only question is if we need this margin-bottom here

I like the overall card layout spacing better without it:

Screen.Recording.2023-09-07.at.10.16.02.AM.mov

@eddybrando eddybrando force-pushed the 3206-eventcard-limit-description-lengths branch from e0daebb to 3bb7b8e Compare January 16, 2024 07:47
@eddybrando
Copy link
Collaborator

Thank you for working on this @paaragon

Non-blocking comment: my only question is if we need this margin-bottom here

I like the overall card layout spacing better without it:

Screen.Recording.2023-09-07.at.10.16.02.AM.mov

Good catch @techtolentino! Now we had too much spacing.

I'm removing that extra spacing now.

eddybrando
eddybrando previously approved these changes Jan 16, 2024
Copy link
Collaborator

@eddybrando eddybrando left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you very much @paaragon!

components/Events/EventsCard.vue Outdated Show resolved Hide resolved
@eddybrando eddybrando merged commit b1f20dc into main Jan 17, 2024
5 of 6 checks passed
@eddybrando eddybrando deleted the 3206-eventcard-limit-description-lengths branch January 17, 2024 07:55
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[EventCard] limit description lengths
3 participants